package com.desmond.squarecamera;

import android.os.Environment;


/**
 * Created by Thinkpad on 2016/1/25.
 */
public class Constans {
    //基础ip
    public static final String BASE_URL="http://123.56.205.69:9901/";
//    public static final String BASE_URL="http://192.168.1.248:9901/";
    //时尚资讯地址
    public static final String URL_NEWS=BASE_URL+"news";
    //获取活动日程网址   参数date=2015-10-30 loc=北京饭店
    public static final String URL_SCHEDULE=BASE_URL+"show";

    //活动日程详情页 logo地址
    public static final String URL_LOGO_BASE="http://123.56.205.69:9901/";
    //收藏地址  http://192.168.1.248:9901/show?code=col&userID=1&showID=-1(显示所有搜藏)
    public static final String URL_SHOUCANG=BASE_URL+"show?code=col&userID=";
    //申请参加地址
    public static final String URL_APPLY=BASE_URL+"show?code=app&userID=";
    //品牌logo列表 地址
    public static final String URL_LOGO_LIST=BASE_URL+"brand";

    //sd卡根目录
    public static final String PATH_BASE= Environment.getExternalStorageDirectory().getAbsolutePath();
    //合成子自拍照存放路径
    public static final String PIC_SHARE=PATH_BASE+"/pic_share";
    //获取票夹 url
    public static final String PIAO_URL=BASE_URL+"show?code=get&userID=";
    //接受 邀请url
    public static final String YAOQINGHAN_URL=BASE_URL+"show?code=acc&userID=1&showID=";
    //申请邀请函 url
    public static final String APPLY_URL=BASE_URL+"show?code=app&userID=1&showID=";
    //获取好友列表url
    public static final String FRIENDLIST_URL=BASE_URL+"user?fri&userID=";
    //转赠好友 urlshow?code=giv&userID=userID&showID=showID&touserID=userID
    public static final String DONATIONFRIEND_URL=BASE_URL+"show?code=giv&userID=";
    //删除 邀请码
    public static final String DELEYAOQING_URL=BASE_URL+"show?code=del&userID=1&showID=";
    //登陆 user?log&u=username&p=password
    public static final String LOGIN_URL=BASE_URL+"user?log&u=";
    //获取验证码
    public static final String YANZHENG_URL=BASE_URL+"user?sms&userPhone=";
    //注册  user?reg&u=%@&p=%@&code=%@&inv=%@

    public static final String REGISTER_URL=BASE_URL+"user?reg&u=";
    //获取用户信息
    public static final String USER_INFO_URL=BASE_URL+"user?get&userID=";

    //重新设置密码
    public static final String FORGOT_PASS_URL=BASE_URL+"user?fgt&userPhone=";
    //用户id
//    public static String userID;
    public static String userID="2";//调试

    //用户信息 用于 用户登录成功后记录用户信息
//    public static User user;
    //记录手势密码 sp文件名称
    public static final String GESTURENAME="gesture";
    //记录手势密码 变量名
    public static final String GESTURE="ges";
    //意见反馈接口
    public static final String FEEDBACK_URL=BASE_URL+"user?fee&userPhone=";

    public static final String REMIND="remind";








    //记录路劲规划状态
    public static final int JIACHE_MONE=0;//驾车 费用优先
    public static final int JIACHE_FAST=1;//驾车 高速优先
    public static final int JIACHE_YONGDU=2;//驾车 躲避拥堵

    public static final int BUXING=3;//步行

    public static final String ALARM="alarm";//记录提醒状态


}
